using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_scorelog
    {
        private int? _id;
        private int? _uid;
        private DateTime? _logdate;
        private DateTime? _indate;
        private DateTime? _outdate;
        private DateTime? _toutdate;
        private int? _conid;
        private string _logname = String.Empty;
        private DateTime? _scoredate;
        private byte _logsort;
        private decimal _booktotal;
        private decimal _consumetotal;
        private decimal _score;
        private string _fogid = String.Empty;
        private string _verifycode = String.Empty;
        private string _comment = String.Empty;
        private byte _logstate;
        private bool _valid;
        private int? _hid;
        private int? _gid;
        private int? _lastdate;
        private bool _scorestatus;

        public hfg_scorelog()
        {
        }

       

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _uid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _logdate = reader.GetDateTime(2);
        //        if (!reader.IsDBNull(3)) _indate = reader.GetDateTime(3);
        //        if (!reader.IsDBNull(4)) _outdate = reader.GetDateTime(4);
        //        if (!reader.IsDBNull(5)) _toutdate = reader.GetDateTime(5);
        //        if (!reader.IsDBNull(6)) _conid = reader.GetInt32(6);
        //        if (!reader.IsDBNull(7)) _logname = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _scoredate = reader.GetDateTime(8);
        //        if (!reader.IsDBNull(9)) _logsort = reader.GetByte(9);
        //        if (!reader.IsDBNull(10)) _booktotal = reader.GetDecimal(10);
        //        if (!reader.IsDBNull(11)) _consumetotal = reader.GetDecimal(11);
        //        if (!reader.IsDBNull(12)) _score = reader.GetDecimal(12);
        //        if (!reader.IsDBNull(13)) _fogid = reader.GetString(13);
        //        if (!reader.IsDBNull(14)) _verifycode = reader.GetString(14);
        //        if (!reader.IsDBNull(15)) _comment = reader.GetString(15);
        //        if (!reader.IsDBNull(16)) _logstate = reader.GetByte(16);
        //        if (!reader.IsDBNull(17)) _valid = reader.GetBoolean(17);
        //        if (!reader.IsDBNull(18)) _hid = reader.GetInt32(18);
        //        if (!reader.IsDBNull(19)) _gid = reader.GetInt32(19);
        //        if (!reader.IsDBNull(20)) _lastdate = reader.GetInt32(20);
        //        if (!reader.IsDBNull(21)) _scorestatus = reader.GetBoolean(21);
        //    }
        //}

     

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public DateTime? logdate
        {
            get { return _logdate; }
            set { _logdate = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }

        public DateTime? outdate
        {
            get { return _outdate; }
            set { _outdate = value; }
        }

        public DateTime? toutdate
        {
            get { return _toutdate; }
            set { _toutdate = value; }
        }

        public int? conid
        {
            get { return _conid; }
            set { _conid = value; }
        }

        public string logname
        {
            get { return _logname; }
            set { _logname = value; }
        }

        public DateTime? scoredate
        {
            get { return _scoredate; }
            set { _scoredate = value; }
        }

        public byte logsort
        {
            get { return _logsort; }
            set { _logsort = value; }
        }

        public decimal booktotal
        {
            get { return _booktotal; }
            set { _booktotal = value; }
        }

        public decimal consumetotal
        {
            get { return _consumetotal; }
            set { _consumetotal = value; }
        }

        public decimal score
        {
            get { return _score; }
            set { _score = value; }
        }

        public string fogid
        {
            get { return _fogid; }
            set { _fogid = value; }
        }

        public string verifycode
        {
            get { return _verifycode; }
            set { _verifycode = value; }
        }

        public string comment
        {
            get { return _comment; }
            set { _comment = value; }
        }

        public byte logstate
        {
            get { return _logstate; }
            set { _logstate = value; }
        }

        public bool valid
        {
            get { return _valid; }
            set { _valid = value; }
        }

        public int? hid
        {
            get { return _hid; }
            set { _hid = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public int? lastdate
        {
            get { return _lastdate; }
            set { _lastdate = value; }
        }

        public bool scorestatus
        {
            get { return _scorestatus; }
            set { _scorestatus = value; }
        }
        #endregion

    }
}
